Skip to content

Allow linking against crates with #[no_std] #7874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

alexcrichton
Copy link
Member

Previously having optional lang_items caused an assertion failure at
compile-time, and then once that was fixed there was a segfault at runtime of
using a NULL crate-map (crates with no_std).

Now crates with/without #[no_std] (and also missing lang items) should work a bit better.

Closes #7852

Previously having optional lang_items caused an assertion failure at
compile-time, and then once that was fixed there was a segfault at runtime of
using a NULL crate-map (crates with no_std)
@thestinger thestinger closed this Jul 19, 2013
@thestinger
Copy link
Contributor

Just temporarily closing in an attempt to get bors working.

@thestinger thestinger reopened this Jul 19, 2013
@graydon
Copy link
Contributor

graydon commented Jul 19, 2013

Buildbot got confused. Closing this; can you reopen?

@alexcrichton
Copy link
Member Author

Reopened as #7924

bors added a commit that referenced this pull request Jul 26, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 4, 2021
Move `non_send_fields_in_send_ty` to `suspicious`

Stabilize the `non_send_fields_in_send_ty` lint and update the lint for the `allowed_scripts` configuration.

---

closes: rust-lang/rust-clippy#7756

changelog: Move `non_send_fields_in_send_ty` to `suspicious`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optional lang_items may not work cross crates
4 participants